package com.ruixun.query;

import com.ruixun.common.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
@ApiModel(description = "角色查询条件")
public class RolePageQuery extends PageParam {

    @ApiModelProperty(value = "角色名称（模糊查询）", example = "管理员")
    private String name;

    @ApiModelProperty(value = "角色类型（等值查询）", example = "system")
    private String type;

}